import request from '@/config/axios'


//学生详情
export const studentInfo = (params) => {
    return request.get({ url: '/student/info', params })
}

//学生列表
export const studentList = (params) => {
    return request.get({ url: '/student/list', params })
}

//回访信息详情
export const visitInfo = (params) => {
    return request.get({ url: '/visit/info', params })
}

//添加学生回访信息
export const studentVisit = (data) => {
    return request.post({ url: '/visit/add', data })
}

// 添加学生缴费
export const studentPay = (data) => {
    return request.post({ url: '/student/pay', data })
}

// excel文件批量导入
export const studentImport = (data) => {
    return request.post({ url: 'upload/excel', data })
}

// 获取报考院校、申请学位、申请专业联动接口
export const studentDrop = (params) => {
    return request.get({ url: '/student/drop-down', params })
}

// 获取可以选择的招生老师
export const studentTeacher = (params) => {
    return request.get({ url: '/student/teacher-list', params })
}

// 获取多个下拉选项的集合
export const studentGather = (params) => {
    return request.get({ url: '/student/drop-list', params })
}


// 获取导出多选项
export const studentCheckBox = (params) => {
    return request.get({ url: 'export/column', params })
}

//获取项目级联数据
export const schoolTree = (params) => {
    return request.get({ url: 'student/school-tree', params })
}

// 学生管理绑定招生老师
export const teacherBind = (data) => {
    return request.post({ url: 'student/update-teacher', data })
}

// 学生管理详情修改访问时间
export const visitorTime = (data) => {
    return request.post({ url: 'student/todo', data })
}

// 学生导出
export const studentExport = (data) => {
    return request.post({ url: 'export/excel', data })
}

//缴费信息附件上传
export const payFileUpload = (data) => {
    return request.post({ url: 'upload/multi-img', data })
}

//新增学生
export const studentInsert = (data) => {
    return request.post({ url: '/student/add', data })
}


//修改学生
export const studentUpdate = (data) => {
    return request.post({ url: '/student/update', data })
}

export const studentDownPay = (params) => {
    return request.get({ url: '/pay/ticket', params })
}





